package com.atmilan.quartz.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.atmilan.quartz.mapper.ImProductSkuMapper;
import com.atmilan.quartz.model.entity.im.ImProductSku;
import com.atmilan.quartz.service.IImProductSkuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

@Service
public class ImProductSkuServiceImpl extends ServiceImpl<ImProductSkuMapper, ImProductSku> implements IImProductSkuService {
    @Autowired
    ImProductSkuMapper imProductSkuMapper;

    @Override
    public void deleteAll() {
        imProductSkuMapper.deleteAll();
    }
    
    @Override
    public void copyAll() {
        imProductSkuMapper.deleteProductSkuBack();
        imProductSkuMapper.copyProductSkuBack();
    }

}
